package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Schema(description = "广告实体")
@Data
public class AdForm {

    @Schema(description="认证ID")
    private Integer adId;

    /**
     * 0:待联系 1：联系中 2：完成 3：驳回
     */
    private String status;


    @Schema(description="经度")
    private String longitude;

    @Schema(description="纬度")
    private String latitude;

    /**
     * 广告内容
     */
    private String adContent;

    private String adDesc;

    /**
     * 备注
     */
    private String remark;

    /**
     * 备注
     */
    private String weChat;


    private String telephone;

    private String adImg;


    private String province;

    private String city;

    private String area;

    private String type;

    private Integer userId;

    private String ranges;

    @Schema(description="投放开始时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String adStartDate;

    @Schema(description="投放结束时间")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String adEndDate;


    private Date createDate;


}
